<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>用户修改信息</title>
</head>
<body>
<table width="120" border="1">
    <tr>
        <form name="form4" action="/HTML/userInfoUpdateTo" method="post">
            <thead>
            <th>账号</th>
            <th>姓名</th>
            <th>年龄</th>
            <th>电话号码</th>
            <th>邮箱地址</th>
            <th>性别</th>
            <th>角色</th>
            <th>权限</th>
            </thead>
            <tbody>
            <tr th:each="user: ${user}">
                <td><input name="user.account" type="text"
                           th:value=${user.account} ></td>
                <td><input name="user.name" type="text"
                           th:value=${user.name} ></td>
                <td><input name="user.age" type="text"
                           th:value=${user.age} ></td>
                <td><input name="user.phone" type="text"
                           th:value=${user.phone} ></td>
                <td><input name="user.mail" type="text"
                           th:value=${user.mail} ></td>
                <td><input name="user.gender" type="text"
                           th:value=${user.gender} ></td>
                <td><input name="user.role" type="text"
                           th:value=${user.role} ></td>
                <td><input name="user.premission" type="text"
                           th:value=${user.premission} ></td>                                                                                                                                       </tr>
            <input type="submit" value="修改"/>
        </form>
    </tr>
</table>
<div2>
    <form name ="form1" method="post" action="/HTML/updatePassword">
    如果您要修改密码，请单击<a href="javascript:document.form1.submit();">
    "这里"
</a>修改！
</div2>
</form>
<form name =form2  id="form2" method="post" action="/HTML/userInfo">
 <input name="按钮" type="submit" value="返回"/>
</form>
</body>
</html>